package com.boyinet.imesh2json.bean

import javax.persistence.Entity
import javax.persistence.Id


@Entity
class DataMap(@Id var id: Long) {

    var node: Int? = null
    var part: Int? = null
    var index: Int? = null
    var field: String? = null
    var templateId: Long? = null

    override fun toString(): String {
        return "DataMap(id=$id, node=$node, part=$part, index=$index, field=$field, templateId=$templateId)"
    }


}